/*
 * Copyright (c) 2022. Atguigu Inc. All Rights Reserved.
 * Date: 2022/4/27 下午9:36.
 * Author: Administrator.
 */

package com.min.service.impl;

import com.min.domain.UserBehavior;
import com.min.domain.UserBehaviorType;
import com.min.domain.ViewingHours;
import com.min.mapper.UserBehaviorMapeer;
import com.min.mapper.ViewingHoursMapper;
import com.min.service.UserBehaviorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserBehaviorImpl implements UserBehaviorService {

    @Autowired
    private UserBehaviorMapeer userBehaviorMapeer;

    @Autowired
    private ViewingHoursMapper viewingHoursMapper;
    @Override
    public UserBehavior getUserBehavior() {
        return userBehaviorMapeer.getUserBehavior();
    }

    @Override
    public ViewingHours getviewingHours() {
        return viewingHoursMapper.getviewingHours();
    }

    @Override
    public List<UserBehaviorType> getuserBehaviorType() {
        return viewingHoursMapper.getuserBehaviorType();
    }
}
